//
//  XHbluetoolUtils.h
//  HongxuanBluetooth
//
//  Created by 广州弘轩科技发展有限公司 on 2023/8/8.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface XHbluetoolUtils : NSObject

+(NSString *)BaseSystem16ToBaseSystem10:(NSString *)str;
+(NSString *)BaseSystem10ToBaseSystem16:(NSString *)str;
////字符串转16进制
//+ (NSString *)hexStringFromString:(NSString *)string ;
////将NSString转换成十六进制的字符串则可使用如下方式:
//+ (NSString *)convertStringToHexStr:(NSString *)str ;
//
////将十六进制的字符串转换成NSString则可使用如下方式:
//+ (NSString *)convertHexStrToString:(NSString *)str;

//字符串转16进制
+ (NSData *)hexToBytes:(NSString *)str;

+ (int)intTransitionhex16:(int)time;

//10进制转16进制
+ (int)hexadecimalto10:(NSString *)time;

+ (BOOL)beginurl;
@end

NS_ASSUME_NONNULL_END
